package com.easytopit.work.domain;

import java.util.List;

public class JSONResult {
	private Integer status;
	
	private String msg;
	
	private Integer pageIndex;
	
	private Integer total;

	private List rows;
	
	

	
	public List getRows() {
		return rows;
	}

	public void setRows(List rows) {
		this.rows = rows;
	}

	public Integer getStatus() {
		return status;
	}

	public JSONResult() {
		super();
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Integer getPageIndex() {
		return pageIndex;
	}

	public void setPageIndex(Integer pageIndex) {
		this.pageIndex = pageIndex;
	}

	public Integer getTotal() {
		return total;
	}

	public void setTotal(Integer total) {
		this.total = total;
	}

	
	@Override
	public String toString() {
		return "JSONResult [status=" + status + ", msg=" + msg + ", pageIndex=" + pageIndex + ", total=" + total
				+ ", rows=" + rows + "]";
	}

	public JSONResult(Integer status, String msg) {
		super();
		this.status = status;
		this.msg = msg;
	}

	public JSONResult(Integer pageIndex, Integer total, List rows) {
		super();
		this.pageIndex = pageIndex;
		this.total = total;
		this.rows = rows;
	}

	
	

	
	
	
}

